package cn.shengchao.examstar.rpc.wecom.api;

import cn.shengchao.examstar.rpc.base.PageResult;
import cn.shengchao.examstar.rpc.wecom.req.RuleDataPageQuery;
import cn.shengchao.examstar.rpc.wecom.req.RuleDataSaveDto;
import cn.shengchao.examstar.rpc.wecom.resp.RuleDataVo;

/**
 * @program: examstarapi
 * @description: 规则维护api
 * @author: Xiong weiqiang
 * @create: 2025-04-12 13:48
 */
public interface RuleDataServiceApi {

    PageResult<RuleDataVo> getRuleDataListForPage(RuleDataPageQuery query);

    void saveRuleData(RuleDataSaveDto ruleDataSaveDto);

    void copyRuleData(Long ruleId);

    void changeRuleDataState(Long id, Integer state);

    void deleteRuleData(Long id);
}